#ifndef XSANE_H
#define XSANE_H

#include <QProcess>
#include <QDebug>
#include "config.h"

class Xsane : public QProcess
{
    Q_OBJECT

private:
    QString m_fileName;
    static QString commandText () { return QString ("xsane --Fixed --force-filename %1"); }
    QString commandLine ();

private slots:

public:
    explicit Xsane (QObject *parent = 0);

signals:

public slots:
    QString run (const QString& fileName);


};

#endif // XSANE_H
